package com.xiyu.service.convert.mailbox;

import com.xiyu.service.vo.mailbox.mailboxAccount.MailboxAccountGetTopAccountOutput;
import com.xiyu.service.vo.mailbox.mailboxAccount.MailboxAccountSingleGetOutput;
import com.xiyu.service.vo.mailbox.mailboxAccount.MailboxAccountUpdateInput;
import com.xiyu.service.vo.mailbox.mailboxAccount.MailboxAccountCreateInput;
import com.xiyu.service.vo.mailbox.mailboxAccount.MailboxAccountPageQueryOutput;
import com.xiyu.service.model.mailbox.account.MailboxAccount;
import java.util.*;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 邮箱账号 Convert
 */
@Mapper
public interface MailboxAccountConvert {
    MailboxAccountConvert INSTANCE = Mappers.getMapper(MailboxAccountConvert.class);


    List<MailboxAccountPageQueryOutput> pageQueryOutputConvert(List<MailboxAccount> output);

    MailboxAccount createInputConvert(MailboxAccountCreateInput input);

    MailboxAccount updateInputConvert(MailboxAccountUpdateInput input);


    MailboxAccountSingleGetOutput singleGetOutputConvert(MailboxAccount output);

    List<MailboxAccountGetTopAccountOutput> getTopAccountOutputConvent(List<MailboxAccount> output);

}
